home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 8
/
Amoszine 8 (Disk 2 of 3).adf
/
AMON_Extension.lha
/
amon_extension
/
examples_asc
/
IntegerSinCos_fx.asc
< prev
next >
Wrap
Text File
|
1995-07-24
|
2KB
|
109 lines
'
'Program: Draw Circle + Circle Fx
' Author: Paul Overy
' Date: 20/7/95
'
Cls 0
'
For K=0 To 359
Plot Mul Cos(K,64)+128,Mul Sin(K,64)+128
Next K
'
Wait 30 : Cls 0
'
For MUL=0 To 64
For K=0 To 359 Step 65-MUL
Plot Mul Cos(K,MUL)+128,Mul Sin(K,MUL)+128
Next K
Next MUL
'
Wait 30 : Cls 0
'
For MUL=0 To 64
For K=0 To 359 Step 65-MUL
Plot Mul Cos(K,MUL)+128,Mul Sin(80,MUL)+128
Next K
Next MUL
'
Wait 30 : Cls 0
'
For K=0 To 359
Plot Mul Cos(K,Rnd(20)+44)+128,Mul Sin(K,Rnd(20)+44)+128
Next K
'
Wait 30 : Cls 0
'
For K=0 To 64
For LP=0 To 50
Plot Mul Cos(Rnd(359),K)+128,Mul Sin(Rnd(359),K)+128
Next LP
Next K
'
Wait 30 : Cls 0
'
X=64*32 : Y=0
For AGAIN=0 To 8
For LP=0 To 359
X=X+Y/16
Y=Y-X/16
Plot Mul Cos(LP,X/32)+128,Mul Sin(LP,X/32)+128
Next LP
Next AGAIN
'
Wait 30 : Cls 0
'
X=64*32 : Y=0
For AGAIN=0 To 8
For LP=0 To 359
X=X+Y/16
Y=Y-X/16
Plot Mul Cos(LP,X/32)+128,Mul Sin(LP,Y/32)+128
Next LP
Next AGAIN
'
Wait 30 : Cls 0
'
'I just made this up - I had no idea it would do this!!!!
'
X=64*32 : Y=0
For AGAIN=0 To 10
For LP=0 To 359
X=X+Y/16
Y=Y-X/16
Plot Mul Cos(LP,X/32)+128,Mul Sin(LP,64)+128
Next LP
Next AGAIN
'
Wait 30 : Cls 0
'
X=64*32 : Y=0
For AGAIN=0 To 20
For LP=0 To 359
X=X+Y/16
Y=Y-X/16
Plot Mul Cos(LP,X/32)+128,Mul Sin(LP,Rnd(X/32))+128
Next LP
Next AGAIN
'
Wait 30 : Cls 0
'
X=359*32 : Y=0
For AGAIN=0 To 600
X=X+Y/16
Y=Y-X/16
Plot Mul Cos(Abs(X/32),64)+128,Mul Sin(Abs(Y/32),64)+128
Next AGAIN
'
Wait 30 : Cls 0
'
X=359*32 : Y=0
MUL=64*32
For AGAIN=0 To 5
For LP=0 To 359
Dec MUL
Plot Mul Cos(LP,MUL/32)+128,Mul Sin(LP,MUL/32)+128
Next LP
Next AGAIN